package com.zhu.tool_test.starke.config;

import org.springframework.data.redis.serializer.RedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.stereotype.Component;

/**
 * @author 4everlynn
 * @version V1.0
 * @description
 * @date 2019-08-28
 */
@Component
public class DefaultConfig {
    private Integer rpcTimeout = 10;

    private String redisHost = "localhost";

    private Integer redisPort = 6379;

    private String redisPassword;

    private Class<? extends RedisSerializer> redisHashValueSerializer = StringRedisSerializer.class;

    private Class<? extends RedisSerializer> redisHashKeySerializer = StringRedisSerializer.class;

    private Class<? extends RedisSerializer> redisValueSerializer = StringRedisSerializer.class;

    private Class<? extends RedisSerializer> redisKeySerializer = StringRedisSerializer.class;
}
